<template>
  <div id="app">
    <template v-if="$route.meta.keepAlive">
      <keep-alive>
        <router-view :key="$route.fullPath">
          <!-- 这里是会被缓存的视图组件，比如 page1,page2 -->
        </router-view>
      </keep-alive>
    </template>

    <router-view v-else>
      <!-- 这里是不被缓存的视图组件，比如 page3 -->
    </router-view>
  </div>
</template>

<script>

export default {
  name: 'App'
}
</script>

<style>
html{
  height: 100%;
  width: 100%;
}
body{
  margin: 0!important;
  height: 100%;
  width: 100%;
  position: absolute;
  font-size: 16px;
}

#app{
  height: 100%;
  background: #ffffff;
}
.dialogTable td{
  padding: 8px 0!important;
}
.el-radio__input.is-checked .el-radio__inner{
  border-color: #00ADF6!important;
  background: #00ADF6!important;
}
.el-radio__input.is-checked+.el-radio__label {
  color: #606266!important;
}
.el-checkbox+.el-checkbox {
  margin-left: 15px;
}
.el-checkbox__input.is-checked+.el-checkbox__label {
  color: #00ADF6;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #00ADF6;
  border-color: #00ADF6;
}
</style>
